package com.sk.bilibili.model.diy.bottomDialog;

import com.sk.api.annotations.Autowired;
import com.sk.bilibili.mapper.LookLaterMapper;
import com.sk.bilibili.model.BaseModel;
import com.sk.bilibili.other.JsonMap;
import com.sk.bilibili.utils.RequestUtils;
import com.sk.bilibili.view.diy.bottomDialog.LaterBottomDialog;

public class LaterModel extends BaseModel<LaterBottomDialog> {

    @Autowired
    LookLaterMapper lookLaterMapper;

    public void addLater(Integer videoSetId) {
        JsonMap map = new JsonMap();
        map.put("videoSetId", videoSetId);
        RequestUtils.process(lookLaterMapper.add(map));
    }

}